﻿body {
    margin: 0px;
    background-color: #C4CCD5;
    background-image: url(images/bg.png);
    padding: 0px;
}
#body {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.page {
    width: 100%;
    height: 100%;
    position: relative;
}
#header,#footer {
    position: fixed;
    width: 100%;
}


#header {
    background-color: blue;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    top: 0px;
    z-index: 1;
    overflow: hidden;
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #686f75;
    padding: 5px 0;
}
#footer {
    background-color: blue;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 1;
    overflow: hidden;
    border-top: 1px solid #686f75;
    bottom: 0px;
    line-height: 50px;
}

.c-w1 {
    margin: 20px;
}
#header h1 {
    margin: 0 auto 0 auto;
    font-size: 20px;
}

.bar {
    background: -moz-linear-gradient(top,  #cdd2d8 0%, #969eab 50%, #8b939e 51%, #555e65 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cdd2d8), color-stop(50%,#969eab), color-stop(51%,#8b939e), color-stop(100%,#555e65));
    background: -webkit-linear-gradient(top,  #cdd2d8 0%, #969eab 50%, #8b939e 51%, #555e65 100%);
    background: -o-linear-gradient(top,  #cdd2d8 0%, #969eab 50%, #8b939e 51%, #555e65 100%);
    background: -ms-linear-gradient(top, #cdd2d8 0%, #969eab 50%, #8b939e 51%, #555e65 100%);
    background: linear-gradient(to bottom,  #cdd2d8 0%, #969eab 50%, #8b939e 51%, #555e65 100%);
}
.group:before, .group:after,
.float-fix:before, .float-fix:after,
.btn-group:before, .btn-group:after,
.nav4:before, .nav3:after,
.clearfix:before, .clearfix:after
 {
	content:"";
	display:table;
}
.group:after,
.float-fix:after,
.btn-group:after,
.nav4:after,
.clearfix:after {
	clear:both;
}

.group {
    margin-bottom: 10px;
}
.float-l {
    float: left;
}
.float-r {
    float: right;
}
.center {
    margin-left: auto;
    margin-right: auto;
}
.btn-group {
    margin: 0px;
    padding: 0px;
    display: inline-block;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #aaaaaa;
    box-shadow: 2px 0 5px #888888; 
}
.btn-group li {
    float: left;
    list-style: none;
}
.btn-group li a {
    display: block;
    
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    border-right: 1px solid #cccccc;
    border-left: #ffffff;
    border-top: 1px solid #ffffff;

    background: #f0b7a1;
    background: -moz-linear-gradient(top,  #f0b7a1 0%, #8c3310 50%, #752201 51%, #bf6e4e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0b7a1), color-stop(50%,#8c3310), color-stop(51%,#752201), color-stop(100%,#bf6e4e));
    background: -webkit-linear-gradient(top,  #f0b7a1 0%,#8c3310 50%,#752201 51%,#bf6e4e 100%);
    background: -o-linear-gradient(top,  #f0b7a1 0%,#8c3310 50%,#752201 51%,#bf6e4e 100%);
    background: -ms-linear-gradient(top,  #f0b7a1 0%,#8c3310 50%,#752201 51%,#bf6e4e 100%);
    background: linear-gradient(to bottom,  #f0b7a1 0%,#8c3310 50%,#752201 51%,#bf6e4e 100%);

}
.btn-group li a > span {
    padding: 5px 15px;
}
.btn-group li:first-child a {
    border-left: 0px;
}
.btn-group li:last-child a {
    border-right: 0px;
}

.btn,
.btn-left,
.btn-right {
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;

    border-radius: 5px;
    -webkit-border-radius: 5px;
    height: 28px;
    border-width: 1px;
    border-style: solid;
    border-color: #373f4a #4e5661 #4e5661 #4e5661;
    box-shadow: 1px 1px 0px #8c949f;
}
.btn>span,
.btn-left>span,
.btn-right>span {
    display: block;
    padding: 0px 10px;
    min-width: 40px;
    line-height: 28px;

    box-shadow: -1px -1px 3px #B5BDCA inset;
    -webkit-box-shadow: -1px -1px 3px #B5BDCA inset;
    border-radius: 5px;

    background: -moz-linear-gradient(top,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b4beca), color-stop(50%,#72839d), color-stop(51%,#5a6f8a), color-stop(100%,#69788b));
    background: -webkit-linear-gradient(top,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
    background: -o-linear-gradient(top,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
    background: -ms-linear-gradient(top,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
    background: linear-gradient(to bottom,  #b4beca 0%, #72839d 50%, #5a6f8a 51%, #69788b 100%);
}
.btn-left {
    left: 10px;
    position: absolute;
}
.btn-right {
    position: absolute;
    right: 10px;
}

/*nav*/
.nav3,
.nav4 {
    margin: 0px;
    padding: 0px;
}
.nav3 li,
.nav4 li {
    float: left;
    list-style: none;
}
.nav3 li div,
.nav4 li div {
    display: block;
    text-align: center;
    border-left: 1px solid #64707c;
    border-right: 1px solid #D1DCE7;
    text-decoration: none;
    color: #ffffff;
    outline: none;
}
.nav4 li {
    width: 25%;
}
.nav3 li {
    width: 33.33%;
}
.nav4 li:first-child div,
.nav3 li:first-child div {
    border-left: 0px;
}
.nav4 li:last-child div,
.nav3 li:last-child div {
    border-right: 0px;
}
ul.list {
    margin: 0px;
    padding: 0px;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #aaaaaa;
}
ul.list li {
    list-style: none;
    line-height: 35px;
    padding: 0 10px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #dddddd;
}
ul.list li:first-child {
    border-top: 0px;
}
ul.list li:last-child {
    border-bottom: 0px;
}
li.clicking {
    background-color: #DEFFAD;
}
ul.list2 {
    padding: 0px;
}
ul.list2 > li {
    list-style: none;
    margin-bottom: 15px;
    font-weight: bold;
}
ul.list2 > li > ul {
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #dddddd;
    font-weight: normal;
    padding: 0px;
    margin-top: 10px;
}
ul.list2 > li > ul >li {
    list-style: none;
    padding: 5px 10px;
    border-bottom: 1px solid #eeeeee;
}
ul.list2 > li > ul > li:last-child {
    border-bottom: none;
}
/* toast and messages */
.toast {
    position: fixed;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    z-index: 100;
}
.toast-wrap {
    padding: 5px 8px;
}
.dialog {
    position: fixed;
    z-index: 10;
    left: 0px;
    top: 0px;
}
.dialog.modal {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.dialog-window {
    position: fixed;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 5px #A2C2E8;
    -webkit-box-shadow: 0 0 5px #A2C2E8;
}
.dialog-header {
    border-radius: 5px 5px 0 0;
    position: relative;
    
    background: -moz-linear-gradient(top,  #D3DBE5 0%, #BECCDB 80%, #B4BECA 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#D3DBE5), color-stop(50%,#BECCDB), color-stop(100%,#B4BECA));
    background: -webkit-linear-gradient(top,  #D3DBE5 0%, #BECCDB 80%, #B4BECA 100%);
    background: -o-linear-gradient(top,  #D3DBE5 0%, #BECCDB 80%, #B4BECA 100%);
    background: -ms-linear-gradient(top,  #D3DBE5 0%, #BECCDB 80%, #B4BECA 100%);
    background: linear-gradient(to bottom,  #D3DBE5 0%, #BECCDB 80%, #B4BECA 100%);
}
.dialog-title {
    padding: 8px;
}
.dialog-close {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 4px;
    border-radius: 5px;
}
.dialog-close.touching {
    background-color: #FFE0E0;
}
.dialog-close span {
    width: 18px;
    height: 18px;
    display: block;
    background: url(images/icons-18-white.png) -72px 0 no-repeat;
}
.dialog-content {
    
}
.dialog-content-wrap {
    padding: 10px;
}
.dialog-footer-w1 {
    padding: 5px;
    border-top: 1px solid #cccccc;
}
.dialog-footer-w2 {
    margin-left: -20px;
    text-align: center;
}
.dialog-footer .btn {
    margin-left: 20px;
}

/* ui.widgets.sliding page*/
.carousel-container {
    overflow: hidden;
    position: relative;
}
.carousel {
    overflow: hidden;
    position: absolute;
}
.carousel-view {
    overflow: hidden;
    float: left;
}


/* scroller */
.scroller {
    overflow: hidden;
    position: relative;
}
.scroller .scroller-content {
    width: 100%;
}

/***********widgets**************/
.icon-list {
    margin: 0px;
    padding: 0px;
}
.icon-list li{
    width: 50%;
    float: left;
    list-style: none;
}
.icon-list li div {
    margin: 10px auto;
    width: 80px;
    height: 80px;
    line-height: 80px;
    overflow: hidden;
    text-align: center;
    border-radius: 8px;
    background-color: #C3E9F7;
    border: 1px solid #A5D4E5;
}
.icon-list li div.touching {
    background-color: #FFD3C9;
}
.icon-list li div.clicking {
    background-color: #C9FFD6;
}
